<template>
	<view class="container">
		<view class="margin-b30 fs-32">转账账户 {{ account }}</view>
		<view class="margin-b30 fs-32">转账币种 {{ccy == 'fs' ? '火源' : ccy == 'fc' ? '原力' : '火石'}}</view>
		<u--textarea v-model="remark" placeholder="请输入转账备注信息" confirmType="done" class="margin-b30"></u--textarea>
		<fx-amountInput :fontSize="32" confirmText="转账" btnColor="var(--echo-main-color)" placeholder="请输入转账金额"
			@change="change" @confirm="confirm">
		</fx-amountInput>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				account: '', // 收款客户编号
				money: '',
				customerNo: '', // 转账客户编号
				ccy: '', // 转账币种，
				remark: '' // 备注
			}
		},
		onLoad: function(option) {
			console.log('option', option)
			const {
				account,
				ccy
			} = option
			this.account = account
			this.ccy = ccy
		},
		methods: {

			change() {
				console.log('键盘数字发生改变');
			},

			// 确认转账
			confirm() {
				console.log('确认转账');
			}
		}
	}
</script>

<style lang="scss">
	.container {
		padding: 30rpx;

		.fs-32 {
			font-size: 32rpx
		}
	}
</style>
